home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
C for beginners.adf
/
source
/
strlen.c
< prev
next >
Wrap
Text File
|
1978-01-17
|
622b
|
20 lines
/* Filename: "strlen.c" */
/**********************************************************************/
/* Name: strlen */
/* Parameter: s (String) */
/* Return value: Length (int) */
/* Function: Number of characters in "s" */
/* Other: - */
/*********************************************************************/
strlen(s)
char s[];
{
register int i = 0;
while(s[i])
i++;
return(i);
}